<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        var iNum01 = 5;
        var iNum02 = 4;
        if(iNum01 > iNum02){
            sTr = '大于';
        }
        else if(iNum01 === iNum02){
            sTr = '等于';
        }
        else{
            sTr = 'x小于';
        }

        alert(sTr)
    </script>
</head>
<body>

</body>
</html>